home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / General / ViewIt™ 2.24 Shareware / FaceWare / FaceWare.rsrc / TEXT_1207_Bounds Dialog.txt < prev    next >
Text File  |  1994-04-10  |  5KB  |  31 lines

  1. Bounds Settings
  2. This dialog resets parameters that determine size-related control features.  Changes made here affect only the FWND in memory.  Use "Save All to disk" to make changes permanent.
  3.  
  4. Bounds - The maximum area occupied by the control (= the standard "contrlRect" associated with Macintosh controls).
  5.  
  6. Indent - The top, left, bottom, and right indent from the Bounds rectangle (a "margin") within which the content of the control is to be drawn.  Most ViewIt controls support use of an indent, but standard CDEF-based controls do not. Note that if the top or left indent is negative, then the content is clipped at the top or left by that amount.  This can be useful, for example, when drawing a PICT created by a drawing program that always adds "slop" to the top and left sides of copied PICTs.
  7.  
  8. Content - The minimum and maximum size of the control's content area.  These values are used by ViewIt to limit resizing of the control, and to support "hand scrolling" when the content area is larger than the control Bounds.  In some cases, it is preferable to have the content area "stretch" to fit the Bounds as the control is resized.  To make this happen, set "Max V" and/or "Max H" to zero.  Some ViewIt controls support use of the Content rectangle and others ignore it, always drawing their content to fit the Bounds (- Indent) area.
  9.  
  10. Frame - The thickness of the control's bounding rectangle.  Most ViewIt controls support drawing of a frame, but standard CDEF controls do not.
  11.  
  12. Round - Can be optionally used by drivers to support the drawing of rounded control frames.
  13.  
  14. Attach At Right - Forces ViewIt to keep the right edge of the control equal to the right edge of the content area of its parent view or window.
  15.  
  16. Attach At Bottom - Forces ViewIt to keep the bottom edge of the control equal to the bottom edge of the content area of its parent view or window.
  17.  
  18.   The "Attach" options affect ViewIt's support for zooming and growing windows.  When control's are "attached" and are not of a fixed size (Min H ‚↠Max H or Min V ‚↠Max V), then the parent view or window cannot be made larger or smaller than the limits of the attached controls.  If, for example, a text-editing control is attached to the right and bottom edges of its parent view, and this view is attached to the right and bottom edges of the window, then ViewIt will not allow the window to be made smaller or larger than the limits imposed by the text-editing control.
  19.   The "Attach" options can also be used to support views or controls that "float" with the parent window or view edge.  If an attached control is of a fixed size (Min H = Max H or Min V = Max V), then the control is moved in the corresponding dimension without changing its size as its parent view or window is resized.  Thus such controls also remain "attached", but do so by floating rather than stretching.
  20.  
  21. Show Hilite Below - If the control's "Frame Hilite" color is not black, then ViewIt uses this color to add a hilite to the bottom, right side of the control's frame.  This works best if the frame color is used as the dark part, and the frame hilite color as the light part, of a 3D shadow.
  22.  
  23. Show Hilite Above - If the control's "Frame Hilite" color is not black, then ViewIt uses this color to add a hilite to the top, left side of the control's frame.  This works best if the frame color is used as the dark part, and the frame hilite color as the light part, of a 3D shadow.
  24.  
  25. Add 3-Pixel Ring - Draws a 3-pixel wide ring around the control.  Works best with standard default buttons.  Note that adding a ring does not make the control the default control (this is supported by an option in the Control dialog).
  26.  
  27. Add 1-Pixel Shadow - Adds a 1-pixel shadow to the right and bottom sides of the control.  Looks best with isolated button or pop-up menu controls that also have a 1-pixel frame.
  28.  
  29. Scroll - If the control's "Max V" or "Max H" is greater than 0 (i.e., its content can be larger than its visible area), then ViewIt supports scrolling of the contents by use of a hand cursor in units of ‚àÜ pixels.  To enable such hand scrolling, check the hand icon.
  30.   This support for "hand scrolling" is built into ViewIt, and works best with static-type controls that do not support their own scroll bars. A static control linked to a large PICT, for example, works well with hand scrolling, but a HelpCt control does not since the latter already has built-in support for scroll bar-based scrolling.
  31.   The control driver's on-line help will usually indicate whether hand scrolling can be used with its controls.  Also note that if a hand-scrollable control is not a "static" control, then the OPTION key must be pressed to hand scroll, since clicks in such controls usually have some other meaning.